/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.company.user.dao;

import com.company.regis.bean.UserCriteria;
import com.company.regis.db.entity.RegUser;
import com.company.regis.db.entity.ViewUserDetail;
import java.util.List;

/**
 *
 * @author totoland
 */
public interface UserDao {
    
    List<ViewUserDetail>getAllUserDetail();
    RegUser findById(Integer id);
    List<ViewUserDetail> findByCriteria(UserCriteria userCriteria);
    Integer countByCriteria(UserCriteria criteria);
    
}
